package com.itheima.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author 王同学
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SetmealDishesDto {
    //依附于套餐表下面的集合参数
    private String id;
    private String setmealId;
    private String dishId;
    private String name;
    private BigDecimal price;
    private Integer copies;
    private Integer sort;
    private Integer type;
    @JsonFormat(pattern = "yyyy年MM月dd日HH时mm分ss秒")
    LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy年MM月dd日HH时mm分ss秒")
    LocalDateTime updateTime;
    String createUser;
    String updateUser;
    private Integer isDeleted;

}
